import random

ls=[(1,10),(2,20),(3,30),(4,40)]
print(ls)
print(random.choice(ls))
print(ls)
a=ls.pop(0)
print(a)